<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>mlmmjadmin upgrade tutorial (RESTful API server used to manage mlmmj mailing list)</title>
        <link rel="stylesheet" type="text/css" href="./css/markdown.css" />
    </head>
    <body>

    <div id="navigation">
    <a href="https://www.iredmail.org" target="_blank">
        <img alt="iRedMail web site"
             src="./images/logo-iredmail.png"
             style="vertical-align: middle; height: 30px;"
             />&nbsp;
        <span>iRedMail</span>
    </a>
    &nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="mlmmjadmin-upgrade-tutorial-restful-api-server-used-to-manage-mlmmj-mailing-list">mlmmjadmin upgrade tutorial (RESTful API server used to manage mlmmj mailing list)</h1>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<ul>
<li>
<p>mlmmjadmin-3.0 and later releases <strong>require Python 3.5+</strong>, only listed
  distribution releases are qualified to upgrade:</p>
<ul>
<li>CentOS 7 and later</li>
<li>Debian 9 and later</li>
<li>Ubuntu 18.04 and later</li>
<li>FreeBSD with latest ports tree</li>
<li>OpenBSD 6.6 and later</li>
</ul>
</li>
</ul>
<p>If you're running an old Linux/BSD release which doesn't have Python
  3.5+, please stay with mlmmjadmin-2.1, it's the last release supports
  Python 2. if you need to upgrade to mlmmjadmin-2.1, please follow this
  upgrade tutorial instead: <a href="./upgrade.mlmmjadmin.py2.html">Upgrade mlmmjadmin to v2.1</a>.</p>
</div>
<h2 id="summary">Summary</h2>
<ul>
<li>mlmmjadmin is a RESTful API server used to manage <a href="http://mlmmj.org">mlmmj</a> mailing list.</li>
<li>Source code is hosted on <a href="https://github.com/iredmail/mlmmjadmin">GitHub</a>.</li>
<li>Download the <a href="https://github.com/iredmail/mlmmjadmin/releases">latest stable release</a>
  and check its release notes.</li>
</ul>
<h2 id="upgrade-mlmmjadmin">Upgrade mlmmjadmin</h2>
<ul>
<li>Login to the iRedMail server first, and switch to root user with <code>su</code> or <code>sudo</code>.</li>
<li>Download the latest package with <code>wget</code> command, extract download package and
  run a script to upgrade it.</li>
</ul>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/3.3.1.tar.gz
tar zxf 3.3.1.tar.gz
cd mlmmjadmin-3.3.1/tools/
bash upgrade_mlmmjadmin.sh
</code></pre>
<ul>
<li>That's all.</li>
</ul><div class="footer">
    <p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div></body></html>